package com.aspose.cells;

import java.util.ArrayList;

public class ScenarioCollection extends CollectionBase {
   int b;
   int c;
   ArrayList d;

   public int getActiveIndex() {
      return this.b;
   }

   public void setActiveIndex(int value) {
      this.b = value;
   }

   public int getLastSelected() {
      return this.c;
   }

   public void setLastSelected(int value) {
      this.c = value;
   }

   public Scenario get(int index) {
      return (Scenario)this.a.get(index);
   }

   public int add(String name) {
      Scenario var2 = new Scenario();
      var2.b = name;
      com.aspose.cells.b.a.a.ze.a(this.a, (Object)var2);
      return this.a.size() - 1;
   }

   int a(Scenario var1) {
      com.aspose.cells.b.a.a.ze.a(this.a, (Object)var1);
      return this.a.size() - 1;
   }
}
